package com.vincce.sport.entity;

import java.util.Date;

import com.vincce.sport.core.utils.ConvertUtil;

/**
 * 用于前台界面学校排名（学校下的球队）
 * @author ex-yanjun
 *
 */
public class SchoolRankView {
	private Integer id;
	private Long seasonId;//赛季
	private Long schoolId;//学校id
	private Long zoneId;//区域id
	private Integer matchWon;//胜场
	private Integer matchLost;//负场
	private Float points;//积分
	private Float winning;//胜率
	private Float score;//得失分
	private Date updateTime;//更新时间
	private Integer teamId;
	private Integer status;
	
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	//用于界面显示
	private String teamName;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Long getSeasonId() {
		return seasonId;
	}
	public void setSeasonId(Long seasonId) {
		this.seasonId = seasonId;
	}
	public Long getZoneId() {
		return zoneId;
	}
	public void setZoneId(Long zoneId) {
		this.zoneId = zoneId;
	}
	public Integer getMatchWon() {
		return matchWon;
	}
	public void setMatchWon(Integer matchWon) {
		this.matchWon = matchWon;
	}
	public Integer getMatchLost() {
		return matchLost;
	}
	public void setMatchLost(Integer matchLost) {
		this.matchLost = matchLost;
	}
	public Float getPoints() {
		return points;
	}
	public void setPoints(Float points) {
		this.points = points;
	}
	public Float getWinning() {
		return winning;
	}
	public void setWinning(Float winning) {
		this.winning = winning;
	}
	public Float getScore() {
		return score;
	}
	public void setScore(Float score) {
		this.score = score;
	}
	public String getUpdateTime() {
		return ConvertUtil.format("yyyy-MM-dd", updateTime);
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Long getSchoolId() {
		return schoolId;
	}
	public void setSchoolId(Long schoolId) {
		this.schoolId = schoolId;
	}
	public String getTeamName() {
		return teamName;
	}
	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}
	public Integer getTeamId() {
		return teamId;
	}
	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}
	
}
